from datetime import datetime
from django.conf.urls import url
import django.contrib.auth.views
from . import views
from . import viewsuser
from . import viewsexpense
#from . import test

urlpatterns = [
     url(r'^addvacation/',views.addvacation),
     url(r'^vacation/',views.vacation),
     url(r'^savevacation/',views.savevacation),
	 url(r'^listvacation/',views.listvacation),
     url(r'^vacationsum/',views.vacationsum),
     url(r'^vacationsumyear/',views.vacationsumyear),
     url(r'^sendmail/',views.sendmail),
     url(r'^sendmailexpense/',views.sendmailexpense),
     url(r'^getuserlist/',views.getuserlist),
     url(r'^rule/',views.rule),
     url(r'^home/',views.home),

     url(r'^login/',views.login),

     url(r'^user/',viewsuser.user),
     url(r'^saveuser/',viewsuser.saveuser),
     url(r'^listuser/',viewsuser.listuser),
     url(r'^upload_ajax/',viewsuser.upload_ajax),
     url(r'^deluser/',viewsuser.deluser),
     url(r'^edituser/',viewsuser.edituser),
     url(r'^file_download/',viewsuser.file_download),
     url(r'^file_down/',viewsuser.file_down),
     url(r'^userlogin/',viewsuser.userlogin),
     url(r'^username/',viewsuser.username),
     url(r'^userlogout/',viewsuser.userlogout),

     url(r'^expense/',viewsexpense.expense),
     url(r'^saveexpense/',viewsexpense.saveexpense),
     url(r'^listmyexpense/',viewsexpense.listmyexpense),
     url(r'^listapproveexpense/',viewsexpense.listapproveexpense),
     url(r'^getlistbyid/',viewsexpense.getlistbyid),
     url(r'^delexpense/',viewsexpense.delexpense),
     url(r'^updateexpense/',viewsexpense.updateexpense),
     url(r'^expensestatisticslist/',viewsexpense.expensestatisticslist),
     url(r'^approveuserlist/',viewsexpense.approveuserlist),
     
     url(r'^expenseapprove/',viewsexpense.expenseapprove),
     url(r'^expensestatistics/',viewsexpense.expensestatistics),
     
     url(r'^index/',views.index),
     url(r'^create/',views.create),
     url(r'^save/',views.save),
	 url(r'^list/',views.list),
	 url(r'^dict/',views.dict),
]
